import request from '@/utils/request'

export function fetchBilletWareHouseList(params) {
  return request({
    url: '/api/billetWarehouse/getList',
    method: 'post',
    params
  })
}

export function createBilletWarehouse(params) {
  return request({
    url: '/api/billetWarehouse/add',
    method: 'post',
    params
  })
}

export function updateBilletWarehouse(data) {
  return request({
    url: '/api/billetWarehouse/update',
    method: 'post',
    data
  })
}

export function deleteBilletWarehouse(params) {
  return request({
    url: '/api/billetWarehouse/delete',
    method: 'post',
    params
  })
}